<template>
  <van-nav-bar
    title="路线规划"
    @click-left="routerBack()"
    left-arrow
    :fixed="true"
    :safe-area-inset-top="true"
    :placeholder="true"
  >
  </van-nav-bar>

</template>
<script>
import { reactive, toRefs } from '@vue/reactivity';
import { onBeforeMount } from '@vue/runtime-core';
import { useRouter } from 'vue-router';

export default {
  setup() {
    const state = reactive({});
    onBeforeMount(() => {});
    const router = useRouter();
    const routerBack = () => {
      router.go(-1);
    };
    return { ...toRefs(state), routerBack };
  },
};
</script>
<style lang="less" scoped>

.my_iframe{
  width: 100vw;
  height: 100vh;
}
</style>